CC = gcc
CFLAGS = -Wall -I../Include  
OBJS = log.o data_input.o 

all: $(OBJS)
	@echo "ModuleC 编译完成：$(OBJS)"

log.o: log.c log.h ../Include/log_pub.h
	$(CC) $(CFLAGS) -c $< -o $@

data_input.o: data_input.c ../Include/data_input.h
	$(CC) $(CFLAGS) -c $< -o $@

clean:
	rm -f $(OBJS)
	@echo "ModuleC 清理完成"
